package khm24980.basic;

public class J02_Expression01 {

	public static void main(String[] args) {

		double x = 2.5;
		double y = 1.5;
		int m = 18;
		int n = 4;
		
		double a1 = x+n*y-(x+n)*y;
		System.out.println(a1);
		double a2 = (m/n)+(m%n);
		System.out.println(a2);
		double a3 = (5*x)+(n/5);
		System.out.println(a3);
		double a4 = 1-(1-(1-(1-(1-n))));
		System.out.println(a4);

	}

}
